cmake_minimum_required(VERSION 3.5.1)
project(FakeWorld VERSION 0.2)

# Set c++11 or higher
set (CMAKE_CXX_STANDARD 17)
message(STATUS "Using C++11 compiler")

find_package(gazebo REQUIRED)
include_directories(${GAZEBO_INCLUDE_DIRS})
link_directories(${GAZEBO_LIBRARY_DIRS})

add_library(FakeRotorPlugin SHARED FakeRotorPlugin.cpp)
add_library(FakeWorldPlugin SHARED FakeWorldPlugin.cpp)
target_link_libraries(FakeWorldPlugin FakeRotorPlugin
  ${GAZEBO_LIBRARIES}
)
